package com.wnn.demo.model.TaskApi.mapper;

import com.wnn.demo.domain.Task;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

public interface TaskApiMapper {

    List<Task> unfinishTask();

    Integer acceptTask(Task task);

    List<Task> acceptedTask(@Param("userId")String userId);

    List<Task> finishTask();

    Task checkTask(@Param("id")String id);
}
